﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;

namespace Alogient.Cameleon.Membership.Items
{
    public class ExtensionParameters
    {
        public string ExtensionType { get; protected set; }
        public bool IsActive { get; set; }
        public string Param1 { get; set; }
        public string Param2 { get; set; }
        public string Param3 { get; set; }
        public string Param4 { get; set; }

        private ExtensionParameters()
        {
            this.Param4 = string.Empty;
            this.Param3 = string.Empty;
            this.Param2 = string.Empty;
            this.Param1 = string.Empty;
            this.IsActive = false;
        }

        public ExtensionParameters(string extensionType) : this()
        {
            this.ExtensionType = extensionType;

            this.Load(this.ExtensionType);
        }

        protected void Load(string extensionType)
        {
            throw new NotImplementedException("Not implemented"); // TODO
        }

        public bool Save()
        {
            throw new NotImplementedException("Not implemented"); // TODO
        }
    }
}
